import request from "@/utils/request";
import PageResult from "@/types/global";
import { DictVO } from "@/api/system/dict";

const GENERATOR_BASE_URL = "/client";

const CommonApI = {
  /** 获取数据表分页列表 */
  upload(data: any) {
    return request<any, any>({
      url: `${GENERATOR_BASE_URL}/upload`,
      method: "post",
      data,
      headers: {
        "Content-Type": "multipart/form-data",
      },
    });
  },
};

export default CommonApI;


